/*为顶栏留出位置*/
body {
	padding-top: 50px;
}

/*禁止自行更改文本框大小*/
textarea {
	resize: none;
}

/*强制显示右侧滚动条*/
html {
	overflow-y: scroll;
}

table {
	border: 1px solid transparent;
	border-color: #ccc;
}

.table {
	margin-bottom: 10px;
}

.modal-content {
	box-shadow: 0 0 60px rgba(0,0,0,.15);
	margin-top: 90px;
	margin-bottom: 0;
}
.modal-backdrop {
	background: none;
}

.list-group-item .form-control {
	border: none;
	box-shadow: none;
}

.dropdown-menu {
	left: -127px;
}

.pagination {
	position: relative;
	margin: 0;
	float: right
}

/*navbar.topbar.student.jsp--------------------------------------------------------------------------*/
/*navbar.sidebar.student.jsp-------------------------------------------------------------------------*/
.sidebar {
	float: left;
	position: fixed;
	width: 260px;
	height: 100%;
	z-index: 100;
}
/*modal.delete.jsp-----------------------------------------------------------------------------------*/
#modal-delete .modal-body a {
	margin-top: 30px;
}
/*modal.info.user.jsp--------------------------------------------------------------------------------*/
#modal-user-title {
	margin: 10px 0 20px 44px;
}
#modal-user-info .nav-tabs > li:first-child > a {
	margin-left: 44px;
}
#modal-user-info .tab-pane {
	margin: 20px auto 0 auto;
	width: 480px;
}
#modal-user-info .input-group {
	margin-bottom: 15px;
}
#tab-user-info .input-group .btn {
	margin-left: -1px;
	border-radius: 0;
}
#tab-user-info button:last-child {
	margin-bottom: 10px;
}
#user-list-school,
#user-list-class {
	text-align: center;
}
#tab-user-secure .list-group,
#tab-user-secure-admin .list-group {
	width: 300px;
	margin: 30px auto 20px auto;
}
#tab-user-secure button,
#tab-user-secure-admin button {
	width: 300px;
	margin: 0 90px 20px 90px;
}
#alert-user-secure .alert,
#alert-user-secure-admin .alert {
	width: 300px;
	margin: 0 auto 0 auto;
}
/*modal.info.problem.jsp-----------------------------------------------------------------------------*/
#modal-problem-title {
	margin: 10px 0 20px 44px;
}
#modal-problem-info .nav-tabs > li:first-child > a {
	margin-left: 44px;
}
#modal-problem-info .input-group {
	margin-bottom: 15px;
}
#modal-problem-info .tab-pane {
	margin: 20px auto 0 auto;
	width: 480px;
}
#modal-problem-info .panel-body {
	padding: 0;
}
#modal-problem-info textarea {
	height: 122px;
}
#modal-problem-info button:last-child {
	margin-bottom: 10px;
}
#tab-problem-info-detail .form-control,
#tab-problem-info-in .form-control,
#tab-problem-info-out .form-control {
	border: none;
	box-shadow: none;
}
#tab-problem-info-base .input-group:nth-child(3),
#tab-problem-info-base .input-group:nth-child(4),
#tab-problem-info-base .input-group:nth-child(5) {
	/*别改,这个没错，至少在chrome下是的*/
	width: 20px;
}
#modal-problem-list-point {
	text-align: center;
}
/*modal.info.task.jsp--------------------------------------------------------------------------------*/
#modal-task-title {
	margin: 10px 0 20px 34px;
}
#modal-task-info .nav-tabs > li:first-child > a {
	margin-left: 34px;
}
#modal-task-info .tab-pane {
	margin: 20px auto 0 auto;
	width: 500px;
}
#modal-task-info button:last-child {
	margin-bottom: 10px;
}
#tab-task-info-base .input-group {
	margin-bottom: 15px;
}
#tab-task-info-problem table {
	table-layout: fixed;
}
#tab-task-info-problem td {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
#tab-task-info-problem .table > thead > tr > th:first-child {
	width: 15%;
}
#tab-task-info-problem .table > thead > tr > th:nth-child(2) {
	width: 20%;
}
#tab-task-info-problem .table > thead > tr > th:nth-child(4) {
	width: 45%;
}
#tab-task-info-problem .table > thead > tr > th:nth-child(3),
#tab-task-info-problem .table > thead > tr > th:last-child {
	width: 10%;
}
#update-task-class-list {
	text-align: center;
}
/*modal.info.match.jsp-------------------------------------------------------------------------------*/
#modal-match-title {
	margin: 10px 0 20px 24px;
}
#modal-match-info .nav-tabs > li:first-child > a {
	margin-left: 24px;
}
#modal-match-info .tab-pane {
	margin: 20px auto 0 auto;
	width: 520px;
}
#modal-match-info button:last-child {
	margin-bottom: 10px;
}
#tab-match-info-base .input-group {
	margin-bottom: 15px;
}
#tab-match-info-problem table {
	table-layout: fixed;
}
#tab-match-info-problem td {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
#tab-match-info-problem .table > thead > tr > th:first-child {
	width: 15%;
}
#tab-match-info-problem .table > thead > tr > th:nth-child(2) {
	width: 20%;
}
#tab-match-info-problem .table > thead > tr > th:nth-child(4) {
	width: 45%;
}
#tab-match-info-problem .table > thead > tr > th:nth-child(3),
#tab-match-info-problem .table > thead > tr > th:last-child {
	width: 10%;
}
/*tab.man.problem.jsp-------------------------------------------------------------------------------*/
#problem .btn-group {
	margin-bottom: 10px;
}
#problem .input-group {
	width: 400px;
}
#problem .table {
	margin-top: 10px;
}
#problem .table > thead > tr > th {
	width: 13.3%;
}
#table-problem-list > tr:first-child > td{
	background: #ffffff;
	padding: 0;
}
#table-problem-list .btn-success {
	width: 100%;
	color: #333;
	background: none;
	border-radius: 0;
	border: none;
}
#add-problem {
	padding: 10px;
}
#add-problem .input-group {
	width: 100%;
	margin-bottom: 10px;
}
#add-problem .btn-default {
	border-radius: 0;
}
#add-problem .panel-default {
	border: none;
	margin-bottom: 0;
	box-shadow: none;
}
#add-problem .panel-heading {
	background: #eee;
	padding: 5px;
	border: 1px solid transparent;
	border-color: #ccc;
	border-radius: 0;
	width: 140px;
	margin-bottom: 10px;
}
#add-problem .panel-body {
	padding: 0;
}
#add-problem textarea {
	width: 49%;
	height: 122px;
	margin-bottom: 10px;
}
#add-problem textarea:nth-child(1) {
	float: left;
}
#add-problem textarea:nth-child(2) {
	float: right;
}
#add-problem .custom {
	float: right;
	width: 49%;
}
#add-problem .panel-body > .input-group {
	float: right;
	width: 49%;
}
#add-problem .panel-body > .custom > .input-group {
	/*别改,这个没错，至少在chrome下是的*/
	width: 20px;
}
#problem-list-point {
	text-align: center;
}
#problem-add-enter {
	margin-top: 20px;
	width: 100%;
}
/*tab.man.task.jsp----------------------------------------------------------------------------------*/
#task .input-group {
	width: 400px;
}
#task .table {
	margin-top: 10px;
}
#task .table > thead > tr > th {
	width: 13.3%;
}
#table-task-list > tr:first-child > td{
	background: #ffffff;
	padding: 0;
}
#table-task-list .btn-success {
	width: 100%;
	color: #333;
	background: none;
	border-radius: 0;
	border: none;
}
#add-task {
	padding: 10px;
}
#add-task .input-group {
	margin-bottom: 10px;
	width: 100%;
}
#add-task table {
	table-layout: fixed;
}
#add-task td {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
#add-task .table > thead > tr > th {
	width: 10%;
}
#add-task .table > thead > tr > th:nth-child(2) {
	width: 15%;
}
#add-task .table > thead > tr > th:nth-child(4) {
	width: 55%;
}
#task-add-enter {
	width: 100%;
}
#task-class-list-add {
	text-align: center;
}
/*tab.man.match.jsp---------------------------------------------------------------------------------*/
#match .input-group {
	width: 400px;
}
#match .table {
	margin-top: 10px;
}
#match .table > thead > tr > th {
	width: 13.3%;
}
#table-match-list > tr:first-child > td{
	background: #ffffff;
	padding: 0;
}
#table-match-list .btn-success {
	width: 100%;
	color: #333;
	background: none;
	border-radius: 0;
	border: none;
}
#add-match {
	padding: 10px;
}
#add-match .input-group {
	margin-bottom: 10px;
	width: 100%;
}
#add-match table {
	table-layout: fixed;
}
#add-match td {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
#add-match .table > thead > tr > th {
	width: 10%;
}
#add-match .table > thead > tr > th:nth-child(2) {
	width: 15%;
}
#add-match .table > thead > tr > th:nth-child(4) {
	width: 55%;
}
#match-add-enter {
	width: 100%;
}